//
//  SendRedPaperView.h
//  LiveStar
//
//  Created by 漪珊 on 2016/12/21.
//  Copyright © 2016年 apple. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef enum {
    RedPaperEqualType = 0,
    RedPaperRandomType
}RedPaperType;
@class SendRedPaperView;
@protocol SendRedPaperDelegate <NSObject>

- (void)sendRedPapepr:(SendRedPaperView *)sendPaperView;
- (void)closeRedPaperView;

@end

@interface SendRedPaperView : UIView
@property (weak, nonatomic) IBOutlet UITextField *moneyTextField;
@property (weak, nonatomic) IBOutlet UITextField *membersTextField;
@property (weak, nonatomic) IBOutlet UILabel *accountblance;
@property (weak, nonatomic) IBOutlet UIButton *equalBtn;
@property (weak, nonatomic) IBOutlet UIButton *randomBtn;
@property (weak, nonatomic) IBOutlet UIButton *sendBtn;


@property (nonatomic, assign) id<SendRedPaperDelegate>delegate;
@property (nonatomic, assign) RedPaperType paperType;
@end
